//
//  TestController.swift
//  firstProject
//
//  Created by 张彦辉 on 2017/4/13.
//  Copyright © 2017年 张彦辉. All rights reserved.
//

import UIKit
import SnapKit

class TestController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        self.view.backgroundColor = UIColor.gray
        
        let label = UILabel()
        label.text = "大秀我爱你"
        label.backgroundColor = UIColor.blue
        self.view.addSubview(label)
        label.snp.makeConstraints { (make) in
            make.center.equalTo(self.view)
        }
    }

    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }
    

    /*
    // MARK: - Navigation

    // In a storyboard-based application, you will often want to do a little preparation before navigation
    override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
        // Get the new view controller using segue.destinationViewController.
        // Pass the selected object to the new view controller.
    }
    */

}
